#pragma once

#include "BaseMessage.h"
#include "Player.h"

class CLoginMapSrvRet :public BaseMessage
{
public:
	CLoginMapSrvRet(uint32_t uid, uint32_t pn);
	~CLoginMapSrvRet();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{
		return new CLoginMapSrvRet(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

	//---------------------------------------------------------------------------
	void SetJsonData(const char* key, uint32_t val);
};

